In this paper , the author propose a method to solve the problem using the method of minimum squares , and then get the system response equation of the new gm ( 2 , 1 ) . it can decrease the big error of original gm ( 2 , 1 ) model 針對(duì)2階gm ( 2 , 1 )模型,通過研究發(fā)現(xiàn),在2階微分方程初始條件的選取上,初值時(shí)刻的不同會(huì)帶來不同的誤差,而且普遍誤差較大。
For compensating the nonlinear error between winding current and the result magnetic field of stepper motor , the method of minimum square is adopted to fit and correct the error curve of subdivision step angle , and the subdivision precision is improved 為了補(bǔ)償步進(jìn)電機(jī)相繞組電流與其產(chǎn)生磁場之間非線性引起的誤差,采用了最小二乘法對(duì)細(xì)分步距角誤差曲線進(jìn)行了擬合與修正,提高了細(xì)分精度。